how to deal with ERESOLVE unable to resolve dependency tree

95

Unable to resolve dependency tree error when installing npm packages -

npm install --save --legacy-peer-deps

how to deal with ERESOLVE unable to resolve dependency tree -

npm install --legacy-peer-deps

You have dependency conflict (incorrect & potentially broken dependency)
Try to run the command with --force, or --legacy-peer-deps.
If it doesn't take effect, the temporary solution is using prior 
versions of the Node.js (downgrading the Node.js version) as
it causes this kind of errors to happen sometimes.

unable to resolve dependency tree -

npm config set legacy-peer-deps true

Comments

Submit
0 Comments